<!DOCTYPE html>
<html lang="cn">
<head>
	<meta charset="utf-8">
	<title><{$title}></title>
	<link rel="stylesheet" href="./public/css/bootstrap.min.css">
	<link rel="stylesheet" href="./public/rest.css">
</head>
<body>
	<div class="container">
		<h1><span class="glyphicon glyphicon-user"></span><{$title}></h1>
		<div class="mt20 center-block">
            <a href="./index.php?c=User&a=index" class="btn btn-info">首页</a>
            <a href="./index.php?c=User&a=addUser" class="btn btn-success">添加页</a>
        </div>
        <hr>
		<{block name="main"}>
		<table class="table table-bordered">
			<tr>
				<th>ID</th>
				<th>姓名</th>
				<th>性别</th>
				<th>年龄</th>
				<th>省份</th>
				<th>操作</th>
			</tr>
			<{foreach $list as $v}>
			<tr>
				<td><{$v.id}></td>
				<td><{$v.name}></td>
				<td>
					<{if $v.sex == "0"}>女
					<{elseif $v.sex == "1"}>男
					<{else}>保密
					<{/if}>
				</td>
				<td><{$v.age}></td>
				<td><{$v.province}></td>
				<td>
					<a href="./index.php?c=User&a=editUser&id=<{$v.id}>" class="btn btn-success">修改</a>
					<a href="./index.php?c=User&a=delUser&id=<{$v.id}>" class="btn btn-danger">删除</a>
				</td>
			</tr>
			<{/foreach}>
		</table>
		<{/block}>
	</div><!--END container-->
	<script src="./public/js/jquery.min.js"></script>
	<script src="./public/js/bootstrap.min.js"></script>
</body>
</html>